<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/1/18
 * Time: 15:40
 */

namespace addons\admin\controller;


class Admin  extends Common
{
    /**
     * 管理员列表
     * @return mixed
     */
    public function list_()
    {
        $this->check_login();
        $param = input();
        $list_ = \addons\admin\service\Admin::list_($param);
        $this->assign("param", $param);
        $this->assign("list_", $list_);
        return $this->fetch();
    }

    public function edit_()
    {
        $this->check_login();
        return $this->fetch();
    }
}